package com.tengju.user.application.club.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author chenhang
 * @Date 2021/1/13
 */
@Data
public class ClubAddMemberDTO {@NotNull(message = "成员列表不能为空")

    @ApiModelProperty(value = "俱乐部id")
    @NotNull(message = "俱乐部id不能为空")
    Long clubId;

    @ApiModelProperty(value = "新增俱乐部成员idCode列表")
    @NotNull(message = "成员列表不能为空")
    List<Long> memberIdCodes;
}
